import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;

import minidraw.framework.Drawing;
import minidraw.framework.DrawingEditor;
import minidraw.framework.Tool;

public class DrawingTool implements Tool {
	
	DrawingEditor editor;
	
	public DrawingTool(DrawingEditor editor) {
		this.editor = editor;
	}

	@Override
	public void keyDown(KeyEvent arg0, int arg1) {	}

	@Override
	public void mouseDown(MouseEvent arg0, int arg1, int arg2) {
		Drawing model = editor.drawing();
		model.lock();
	}

	@Override
	public void mouseDrag(MouseEvent arg0, int arg1, int arg2) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseMove(MouseEvent arg0, int arg1, int arg2) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseUp(MouseEvent arg0, int arg1, int arg2) {
		// TODO Auto-generated method stub
		
	}

}
